Skip to content

[pull] main from github:main#49

Merged
pull[bot] merged 8 commits into
Android-studio61:mainfrom
github:main
May 9, 2026
Merged

[pull] main from github:main#49
pull[bot] merged 8 commits into
Android-studio61:mainfrom
github:main

Conversation

@pull
Copy link
Copy Markdown

@pull pull Bot commented May 9, 2026

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )


Summary by cubic

Promotes jqschema to a reusable skill and updates all workflows to use it. Adds ET budget control and attribution, supports engine.model without engine.id, honors redirect: during add flows, and improves git detection and CLI error output.

  • New Features

    • Converted jqschema into a skill at .github/skills/jqschema/SKILL.md with a real jqschema.sh script; all workflows now import the skill.
    • Added top-level max-effective-tokens (default 10,000,000). Propagates ET usage and rate-limit signals through the agent job, detection, and failure templates; extended Claude 429/rate-limit detection and gateway log parsing.
    • Allowed engine.model without engine.id to express model preference; validation, compiler, schema, and tests updated.
    • gh aw add and gh aw add-wizard now follow frontmatter redirect: for remote workflows; docs and tests added.
    • Improved CLI UX: formatted common stderr messages with console.Format* (e.g., compile errors, watch notices); tests added.
    • Replaced git detection with pure Go traversal (FindGitRoot/FindGitRootFrom) to fix Rosetta/macOS ARM issues; callers updated and tests added.
  • Migration

    • Replace imports of shared/jqschema.md with ../skills/jqschema/SKILL.md (ensure it’s imported before components that need it).
    • To tune cost limits, set max-effective-tokens: in workflow frontmatter. Defaults apply if omitted.

Written for commit 136a3fe. Summary will update on new commits.

Copilot AI and others added 8 commits May 8, 2026 12:12
* chore: plan jqschema conversion to skill

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>

* feat: convert jqschema.sh into a skill and remove shared agentic workflow

- Create .github/skills/jqschema/SKILL.md with tools, steps, and full documentation
- Delete .github/workflows/shared/jqschema.md
- Update all .github/workflows/*.md files to import ../skills/jqschema/SKILL.md
- Update all .github/workflows/shared/*.md files to import ../skills/jqschema/SKILL.md
- Update documentation references in shared workflows
- Update pkg/cli/workflows/shared/jqschema.md with actual skill content
- Recompile all lock files

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>

* feat: store jqschema.sh as a file in the skill folder

Instead of generating jqschema.sh inline via a heredoc, the skill now
stores jqschema.sh as a real file at .github/skills/jqschema/jqschema.sh
and the setup step copies it to /tmp/gh-aw/jqschema.sh at runtime.

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>

* chore: recompile all lock files after jqschema skill conversion

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>

* chore: merge main and recompile all lock files

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
…31068)

* Initial plan

* chore: outline console formatting fix plan

Agent-Logs-Url: https://github.com/github/gh-aw/sessions/15373968-96a0-4486-9c15-f2f8fed316f9

Co-authored-by: gh-aw-bot <259018956+gh-aw-bot@users.noreply.github.com>

* fix: format high-traffic cli stderr messages

Agent-Logs-Url: https://github.com/github/gh-aw/sessions/15373968-96a0-4486-9c15-f2f8fed316f9

Co-authored-by: gh-aw-bot <259018956+gh-aw-bot@users.noreply.github.com>

* test: harden cli stderr formatting coverage

Agent-Logs-Url: https://github.com/github/gh-aw/sessions/15373968-96a0-4486-9c15-f2f8fed316f9

Co-authored-by: gh-aw-bot <259018956+gh-aw-bot@users.noreply.github.com>

* style: refine cli stderr formatting assertions

Agent-Logs-Url: https://github.com/github/gh-aw/sessions/15373968-96a0-4486-9c15-f2f8fed316f9

Co-authored-by: gh-aw-bot <259018956+gh-aw-bot@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: gh-aw-bot <259018956+gh-aw-bot@users.noreply.github.com>
Co-authored-by: Peli de Halleux <pelikhan@users.noreply.github.com>
…acOS ARM64 / Rosetta 2 failure) (#31050)

* Initial plan

* chore: planning git detection fix for macOS ARM64

Agent-Logs-Url: https://github.com/github/gh-aw/sessions/82628923-30ee-4061-af73-61b141aba2e4

Co-authored-by: gh-aw-bot <259018956+gh-aw-bot@users.noreply.github.com>

* fix: replace exec.Command git detection with pure Go filesystem traversal

Fixes `gh aw init` failing with "not in a git repository" on macOS ARM64
(Apple Silicon) when the x86_64 binary runs under Rosetta 2.

Previously, `isGitRepo()` and `FindGitRoot()` used `exec.Command("git", ...)`
to detect git repositories. Under Rosetta 2 (x86_64 emulation on ARM64), this
subprocess call can silently fail due to PATH differences or OS-level subprocess
restrictions.

Replace with pure Go filesystem traversal: walk up from the current directory
(or a given starting directory) looking for a `.git` entry (directory or file,
handling both normal repos and worktrees). This eliminates the dependency on
the `git` executable for repository detection, making it work regardless of
architecture, Rosetta translation, or git installation state.

Changes:
- `pkg/gitutil/gitutil.go`: `FindGitRoot()` now uses `os.Stat`/`filepath.Dir`
  traversal; new exported `FindGitRootFrom(startDir)` helper for callers that
  start from a specific directory
- `pkg/cli/git.go`: `isGitRepo()` delegates to `gitutil.FindGitRoot()`;
  `findGitRootForPath()` uses `gitutil.FindGitRootFrom(dir)` instead of exec
- `pkg/gitutil/gitutil_test.go`: add `TestFindGitRootFrom` tests
- `pkg/gitutil/spec_test.go`: update doc comment to reflect new implementation

Agent-Logs-Url: https://github.com/github/gh-aw/sessions/82628923-30ee-4061-af73-61b141aba2e4

Co-authored-by: gh-aw-bot <259018956+gh-aw-bot@users.noreply.github.com>

* fix: address code review feedback - fix error message and improve test robustness

Agent-Logs-Url: https://github.com/github/gh-aw/sessions/82628923-30ee-4061-af73-61b141aba2e4

Co-authored-by: gh-aw-bot <259018956+gh-aw-bot@users.noreply.github.com>

* chore: merge main and recompile workflow lock files

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>

* fix: improve FindGitRootFrom robustness and add worktree/edge-case tests

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: gh-aw-bot <259018956+gh-aw-bot@users.noreply.github.com>
Co-authored-by: Peli de Halleux <pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
@pull pull Bot locked and limited conversation to collaborators May 9, 2026
@pull pull Bot added the ⤵️ pull label May 9, 2026
@pull pull Bot merged commit 136a3fe into Android-studio61:main May 9, 2026
1 of 2 checks passed
@pull pull Bot had a problem deploying to github-pages May 9, 2026 00:45 Failure
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant